@import './common.scss';
@import './components/m_checkbox/index.scss';

@import './components/flow_customer/index.scss';
@import './components/protocol_dialog/index.scss';

.index-page {
  width: 100vw;
  height: 100vh;
  overflow-x: hidden;
  position: relative;
  .display-none {
    display: none !important;
  }
  .top-pic {
    display: block;
    width: rpx(750);
    margin-top: rpx(-9);
  }
  .form-block {
    position: absolute;
    width: calc(100% - 20px);
    padding: 0 rpx(20);
    margin-top: rpx(-9);

    .btn-confirm {
      height: rpx(96);
      color: white;
      font-size: rpx(36);
      font-weight: 600;
      background: #ffee87;
      color: #982520;
      border-radius: rpx(96);
      line-height: rpx(96);
      text-align: center;
      margin-top: rpx(40);
    }
  }
}

.prop-line {
  display: flex;
  flex-direction: row;
  padding: rpx(20) rpx(40);
  align-items: center;
  background-color: white;
  border-radius: rpx(50);
  font-size: rpx(28);
  margin-bottom: rpx(20);
  .icon {
    margin-right: rpx(20);
  }
  .prop-input {
    // flex: 1;
    font-size: rpx(28);
    height: rpx(48);
    border: none;
    outline: none;
  }
  .btn-captcha {
    flex: 1;
    height: rpx(55);
    line-height: rpx(55);
    text-align: center;
    color: #982520;
    font-size: rpx(30);
    margin-left: rpx(30);
    &.disabled {
      color: #ddd;
    }
  }
  .captcha {
    width: 50vw;
  }
}

.float-customer-btn {
  position: fixed;
  right: rpx(5);
  top: rpx(160);
  width: rpx(100);
  height: rpx(100);
}

.d-none {
  display: none !important;
}

.protocol-dialog {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  padding: 5vh 5vw;
  z-index: 222;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  .protocol-mask {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: #00000067;
  }

  .protocol-center {
    position: relative;
    background-color: #fff;
    border-radius: rpx(20);
    height: 50vh;
    width: 80vw;
    display: flex;
    flex-direction: column;
    z-index: 999;
    background-color: white;
    padding: rpx(60) rpx(20) rpx(20);
    .protocol {
      color: white;
      font-size: rpx(24);
      margin-top: rpx(30);
      height: 25vh;
      overflow: hidden;
      overflow-y: auto;
      div {
        margin-top: rpx(15);
      }
    }
    .protocol-check {
      color: white;
      font-size: rpx(24);
      display: flex;
      justify-content: center;
      align-items: center;
      margin-top: rpx(50);
      .label {
        margin-left: rpx(10);
      }
    }
    .btn-block {
      margin-top: rpx(60);
      display: flex;
      flex-direction: row;
      align-items: center;
      justify-content: space-evenly;
    }
    .btn {
      width: rpx(200);
      height: rpx(60);
      line-height: rpx(60);
      border-radius: rpx(60);
      border: 1px solid white;
      text-align: center;
      color: white;
      &.confirm-btn {
        background-color: #ff6d41;
        border-color: #ff6d41;
      }
    }
  }

  .success-img {
    width: 80%;
  }
  .close-btn {
    width: rpx(40);
    height: rpx(40);
    border-radius: rpx(40);
    margin-top: rpx(40);
    justify-content: flex-end;
    align-items: flex-end;
    display: flex;
    width: 80%;
    z-index: 999;
    .img {
      width: rpx(36);
      height: rpx(36);
      background: #fff;
      border-radius: rpx(10) rpx(10) 0 0;
      padding: rpx(20);
      margin-bottom: rpx(-4);
    }
  }
}
.confirm-dialog {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 999;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  .confirm-img {
    width: 100%;
  }
}
.agreement-item {
  display: flex;
  color: #fff;
  .radio-check {
    width: 20px;
    height: 20px;
    margin-right: 10px;
  }
  .active-color {
    color: #ff6d41;
  }
}
.call-phone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: rpx(36);
  font-weight: bold;
  .phone-box {
    padding: rpx(18) 0;
    display: flex;
    align-items: center;
  }
  img {
    margin-right: rpx(20);
    width: rpx(50);
  }
  a {
    color: #fff !important;
  }
}

.order-dialog {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 222;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  .order-mask {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: #00000067;
  }
  .order-center {
    position: fixed;
    left: 0;
    bottom: 0;
    // background-color: #fff;
    height: rpx(900);
    width: 100vw;
    .dialog-bgimg {
      width: 100%;
      height: 100%;
    }
    .tips-block {
      position: absolute;
      top: rpx(500);
      left: rpx(180);
      color: #fff;
    }
    .img-box {
      position: absolute;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
    }
  }
  .btn-block {
    // margin-top: rpx(60);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
    position: absolute;
    bottom: rpx(100);
    width: 100%;
    .btn {
      width: rpx(260);
      height: rpx(80);
      line-height: rpx(80);
      border-radius: rpx(80);
      border: 1px solid #ff6d41;
      text-align: center;
      color: #ff6d41;
      &.confirm-btn {
        background-color: #ff6d41;
        border-color: #ff6d41;
        color: #fff;
      }
    }
  }

  .close-btn {
    position: absolute;
    right: rpx(20);
    top: 0;
    width: rpx(40);
    height: rpx(40);
    border-radius: rpx(40);
    margin-top: rpx(40);
    background-color: white;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    .img {
      width: rpx(36);
      height: rpx(36);
    }
  }
}

input:-internal-autofill-selected {
  background-color: #fff !important; /* 自动填充选中时的背景色 */
  transition: background-color 1500s ease-out 10s;
}
